import axios from "@/request"


function getHeroList(params: any) {
    return axios.get("/rest/heros", {
        params
    })
}

function getAllHeroList() {
    return axios.get("/rest/heros")
}

function getTtemsList() {
    return axios.get("/rest/items")
}

export {
    getHeroList,
    getTtemsList,
    getAllHeroList
}
